package com.yikome.purchase.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

import com.yikome.common.BaseEntity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor
@Entity
@Table(name = "p_purchase_logistics" , indexes = {@Index(columnList="purchaseCode") , @Index(columnList="carrierCode")})
public class PurchaseLogistics extends BaseEntity{

	private static final long serialVersionUID = 6985543698954204900L;

	private String purchaseCode ; 
	
	@Column(length=50)
	private String logisticCode ; 
	
	private String logisticCompany ; 
	
	private String carrierCode ; 
}
